package com.love_weinuo.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2019/3/24.
 */

public class ZxingCallBackBean implements Serializable{

    /**
     * errcode : 0
     * msg : success
     * result : {"res":{"hasland":0,"isleader":0,"pname":"爱之翼","addtime":"2019-03-23 18:12:47","price":"0.00","sumarea":2400,"endtime":"2019-04-23 00:00:00","pordernum":300514325,"id":30,"state":0,"starttime":"2019-03-23 00:00:00","userid":25},"isleader":1,"isjoin":0,"groupid":"1553335981203","point":["34.763965759578944,113.76596047565667;34.76334107742066,113.78012253901304;34.757131457712134,113.78019898196865;34.75702127571476,113.76567213819251;34.76168845632356,113.76369266797337","34.766033677194244,113.76907183806073;34.766526135818694,113.77623333600796;34.76424229285202,113.77811356449524;34.75962483700083,113.77755298282072;34.75764380206851,113.77621187833621;34.75844040859215,113.77163066541716;34.76052278767959,113.767580529"]}
     */
    private int errcode;
    private String msg;
    private ResultEntity result;

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public int getErrcode() {
        return errcode;
    }

    public String getMsg() {
        return msg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public class ResultEntity implements Serializable{
        /**
         * res : {"hasland":0,"isleader":0,"pname":"爱之翼","addtime":"2019-03-23 18:12:47","price":"0.00","sumarea":2400,"endtime":"2019-04-23 00:00:00","pordernum":300514325,"id":30,"state":0,"starttime":"2019-03-23 00:00:00","userid":25}
         * isleader : 1
         * isjoin : 0
         * groupid : 1553335981203
         * point : ["34.763965759578944,113.76596047565667;34.76334107742066,113.78012253901304;34.757131457712134,113.78019898196865;34.75702127571476,113.76567213819251;34.76168845632356,113.76369266797337","34.766033677194244,113.76907183806073;34.766526135818694,113.77623333600796;34.76424229285202,113.77811356449524;34.75962483700083,113.77755298282072;34.75764380206851,113.77621187833621;34.75844040859215,113.77163066541716;34.76052278767959,113.767580529"]
         */
        private ResEntity res;
        private int isleader;
        private int isjoin;
        private String groupid;
        private List<String> point;

        public void setRes(ResEntity res) {
            this.res = res;
        }

        public void setIsleader(int isleader) {
            this.isleader = isleader;
        }

        public void setIsjoin(int isjoin) {
            this.isjoin = isjoin;
        }

        public void setGroupid(String groupid) {
            this.groupid = groupid;
        }

        public void setPoint(List<String> point) {
            this.point = point;
        }

        public ResEntity getRes() {
            return res;
        }

        public int getIsleader() {
            return isleader;
        }

        public int getIsjoin() {
            return isjoin;
        }

        public String getGroupid() {
            return groupid;
        }

        public List<String> getPoint() {
            return point;
        }

        public class ResEntity implements Serializable{
            /**
             * hasland : 0
             * isleader : 0
             * pname : 爱之翼
             * addtime : 2019-03-23 18:12:47
             * price : 0.00
             * sumarea : 2400
             * endtime : 2019-04-23 00:00:00
             * pordernum : 300514325
             * id : 30
             * state : 0
             * starttime : 2019-03-23 00:00:00
             * userid : 25
             */
            private int hasland;
            private int isleader;
            private String pname;
            private String addtime;
            private String price;
            private int sumarea;
            private String endtime;
            private int pordernum;
            private int id;
            private int state;
            private String starttime;
            private int userid;

            public void setHasland(int hasland) {
                this.hasland = hasland;
            }

            public void setIsleader(int isleader) {
                this.isleader = isleader;
            }

            public void setPname(String pname) {
                this.pname = pname;
            }

            public void setAddtime(String addtime) {
                this.addtime = addtime;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public void setSumarea(int sumarea) {
                this.sumarea = sumarea;
            }

            public void setEndtime(String endtime) {
                this.endtime = endtime;
            }

            public void setPordernum(int pordernum) {
                this.pordernum = pordernum;
            }

            public void setId(int id) {
                this.id = id;
            }

            public void setState(int state) {
                this.state = state;
            }

            public void setStarttime(String starttime) {
                this.starttime = starttime;
            }

            public void setUserid(int userid) {
                this.userid = userid;
            }

            public int getHasland() {
                return hasland;
            }

            public int getIsleader() {
                return isleader;
            }

            public String getPname() {
                return pname;
            }

            public String getAddtime() {
                return addtime;
            }

            public String getPrice() {
                return price;
            }

            public int getSumarea() {
                return sumarea;
            }

            public String getEndtime() {
                return endtime;
            }

            public int getPordernum() {
                return pordernum;
            }

            public int getId() {
                return id;
            }

            public int getState() {
                return state;
            }

            public String getStarttime() {
                return starttime;
            }

            public int getUserid() {
                return userid;
            }
        }
    }
}
